package org.jsola.hr.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.vo.BaseVO;
import org.jsola.hr.entity.SocCheckItemDO;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import static org.jsola.core.example.BaseExample.E_GMT_CREATE;
import static org.jsola.core.example.BaseExample.E_GMT_MODIFIED;
import static org.jsola.core.example.BaseExample.E_ID;
import static org.jsola.core.example.BaseExample.N_GMT_CREATE;
import static org.jsola.core.example.BaseExample.N_GMT_MODIFIED;
import static org.jsola.core.example.BaseExample.N_ID;
import static org.jsola.hr.example.SocCheckExample.E_ACCUMULATION_DIFFERENCE;
import static org.jsola.hr.example.SocCheckExample.E_CHECK_TYPE;
import static org.jsola.hr.example.SocCheckExample.E_COMPANY_ID;
import static org.jsola.hr.example.SocCheckExample.E_EMP_DIFFERENCE_NUM;
import static org.jsola.hr.example.SocCheckExample.E_FILE_NAME;
import static org.jsola.hr.example.SocCheckExample.E_FILE_URL;
import static org.jsola.hr.example.SocCheckExample.E_MONTH;
import static org.jsola.hr.example.SocCheckExample.E_PF_DIFFERENCE_AMOUNT;
import static org.jsola.hr.example.SocCheckExample.E_SERVICE_COST_DIFFERENCE;
import static org.jsola.hr.example.SocCheckExample.E_SOCIAL_DIFFERENCE;
import static org.jsola.hr.example.SocCheckExample.E_SOC_DIFFERENCE_AMOUNT;
import static org.jsola.hr.example.SocCheckExample.E_SOC_MONTH_ID;
import static org.jsola.hr.example.SocCheckExample.E_YEAR;
import static org.jsola.hr.example.SocCheckExample.N_ACCUMULATION_DIFFERENCE;
import static org.jsola.hr.example.SocCheckExample.N_CHECK_TYPE;
import static org.jsola.hr.example.SocCheckExample.N_COMPANY_ID;
import static org.jsola.hr.example.SocCheckExample.N_EMP_DIFFERENCE_NUM;
import static org.jsola.hr.example.SocCheckExample.N_FILE_NAME;
import static org.jsola.hr.example.SocCheckExample.N_FILE_URL;
import static org.jsola.hr.example.SocCheckExample.N_MONTH;
import static org.jsola.hr.example.SocCheckExample.N_PF_DIFFERENCE_AMOUNT;
import static org.jsola.hr.example.SocCheckExample.N_SERVICE_COST_DIFFERENCE;
import static org.jsola.hr.example.SocCheckExample.N_SOCIAL_DIFFERENCE;
import static org.jsola.hr.example.SocCheckExample.N_SOC_DIFFERENCE_AMOUNT;
import static org.jsola.hr.example.SocCheckExample.N_SOC_MONTH_ID;
import static org.jsola.hr.example.SocCheckExample.N_YEAR;

/**
 * 社保校验表
 *
 * @author zhr
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "【社保校验表】详情展示对象")
@Data
public class SocCheckVO extends BaseVO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = N_ID, example = E_ID)
    private String id;

    @ApiModelProperty(notes = N_SOC_MONTH_ID, example = E_SOC_MONTH_ID)
    private String socMonthId;

    @ApiModelProperty(notes = N_FILE_URL, example = E_FILE_URL)
    private String fileUrl;

    @ApiModelProperty(notes = N_FILE_NAME, example = E_FILE_NAME)
    private String fileName;

    @ApiModelProperty(notes = N_EMP_DIFFERENCE_NUM, example = E_EMP_DIFFERENCE_NUM)
    private Integer empDifferenceNum;

    @ApiModelProperty(notes = N_SOC_DIFFERENCE_AMOUNT, example = E_SOC_DIFFERENCE_AMOUNT)
    private BigDecimal socDifferenceAmount;

    @ApiModelProperty(notes = N_PF_DIFFERENCE_AMOUNT, example = E_PF_DIFFERENCE_AMOUNT)
    private BigDecimal pfDifferenceAmount;

    @ApiModelProperty(notes = N_SERVICE_COST_DIFFERENCE, example = E_SERVICE_COST_DIFFERENCE)
    private BigDecimal serviceCostDifference;

    @ApiModelProperty(notes = N_SOCIAL_DIFFERENCE, example = E_SOCIAL_DIFFERENCE)
    private BigDecimal socialDifference;

    @ApiModelProperty(notes = N_ACCUMULATION_DIFFERENCE, example = E_ACCUMULATION_DIFFERENCE)
    private BigDecimal accumulationDifference;

    @ApiModelProperty(notes = N_COMPANY_ID, example = E_COMPANY_ID)
    private String companyId;

    @ApiModelProperty(notes = N_YEAR, example = E_YEAR)
    private String year;

    @ApiModelProperty(notes = N_MONTH, example = E_MONTH)
    private String month;

    @ApiModelProperty(notes = N_CHECK_TYPE, example = E_CHECK_TYPE)
    private Integer checkType;

    @ApiModelProperty(notes = N_GMT_CREATE, example = E_GMT_CREATE)
    private Date gmtCreate;

    @ApiModelProperty(notes = N_GMT_MODIFIED, example = E_GMT_MODIFIED)
    private Date gmtModified;

    @ApiModelProperty(notes = "错误项列表")
    List<SocCheckItemVO> socCheckItemList;

    @ApiModelProperty(notes = "官方校验时的动态表头")
    List<String> checkItemHead;

}

